Yay_Currency\Helpers\YayCurrencyHelper C

Total Complexity 122
Dependencies 1
Dependents 47
Total lines 553
Lines of code 464
Logical lines of code 261
Comment lines 5
Methods 39
Properties 1

Methods 39

Method Rating Maintainability Complexity Lines of code
calculate_price_by_currency()
S
51 7 28
format_currency_code_position()
S
54 7 23
calculate_price_by_currency_html()
S
48 6 34
converted_currency()
S
48 6 32
get_currency_by_ID()
S
49 5 28
calculate_custom_price_by_currency_html()
S
53 5 22
format_currency_position()
S
58 5 18
set_cookies()
S
59 5 14
get_id_selected_currency()
S
61 5 12
get_currency_by_currency_code()
S
66 4 8
get_currency_change_switcher()
S
62 4 10
round_line_tax()
S
65 4 8
format_price()
S
60 3 14
filtered_by_currency_code()
S
62 3 12
is_checkout_in_fallback()
S
68 3 6
get_fallback_currency()
S
66 3 8
get_symbol_by_currency()
S
68 3 7
reverse_calculate_price_by_currency()
S
63 3 10
get_convert_currency_by_checkout_currency()
S
64 3 10
get_apply_currency()
S
62 3 10
get_current_currency_ID()
S
65 3 9
get_convert_price_by_currency_code()
S
63 3 10
is_dis_checkout_diff_currency()
S
70 3 6
filter_payment_methods_by_currency()
S
60 2 15
get_formatted_total_by_convert_currency()
S
59 2 13
get_apply_currency_format_info()
S
61 2 12
get_filtered_currency_by_language()
S
62 2 12
is_wc_json_products()
S
78 2 3
calculate_price_by_currency_cookie()
S
65 2 9
get_rate_fee()
S
65 2 8
detect_current_currency()
S
64 2 10
disable_fallback_option_in_checkout_page()
S
71 2 5
get_symbol_by_currency_code()
S
69 2 6
get_fallback_currency_by_default()
S
72 1 5
get_current_and_fallback_currency()
S
65 1 9
get_cookie_name()
S
80 1 3
get_values_for_total()
S
66 1 9
get_cart_subtotal_for_order()
S
73 1 5
__construct()
S
98 1 1